<?php
Route::middleware([\Hilaoyu\LaravelExtend\Services\Realnames\RealnamePrivateApiServiceDeDataMiddleware::class])
    ->prefix('realnames')
    ->group(function () {
        Route::post('save', 'RealnameServiceController@save')
            ->defaults('_view','_json_')
            ->name('.save');
        Route::post('find', 'RealnameServiceController@find')
            ->defaults('_view','_json_')
            ->name('.find');

        Route::post('card-type-options', 'RealnameServiceController@cardTypeOptions')
            ->defaults('_view','_json_')
            ->name('.card-type-options');
        Route::post('uploaders', 'RealnameServiceController@uploaders')
            ->defaults('_view','_json_')
            ->name('.uploaders');
        Route::post('user-realname', 'RealnameServiceController@userRealname')
            ->defaults('_view','_json_')
            ->name('.uploaders');


    });

